package com.crk.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author com.crk
 * @since 2021-03-29
 */
public class Record extends Model<Record> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "patient_id", type = IdType.AUTO)
    private Integer patientId;

    private String patientName;

    private String patientSex;

    private Integer patientAge;

    private String patientDepartment;

    private String patientDoctor;

    private String patientDisease;

    private String patientDate;

    private String recordType;

    private String recHospital;

    private String recReason;

    /**
     * -1：拒绝    0：消息未处理    1：接受并处理
     */
    private String recordState;


    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex;
    }

    public Integer getPatientAge() {
        return patientAge;
    }

    public void setPatientAge(Integer patientAge) {
        this.patientAge = patientAge;
    }

    public String getPatientDepartment() {
        return patientDepartment;
    }

    public void setPatientDepartment(String patientDepartment) {
        this.patientDepartment = patientDepartment;
    }

    public String getPatientDoctor() {
        return patientDoctor;
    }

    public void setPatientDoctor(String patientDoctor) {
        this.patientDoctor = patientDoctor;
    }

    public String getPatientDisease() {
        return patientDisease;
    }

    public void setPatientDisease(String patientDisease) {
        this.patientDisease = patientDisease;
    }

    public String getPatientDate() {
        return patientDate;
    }

    public void setPatientDate(String patientDate) {
        this.patientDate = patientDate;
    }

   
    public String getRecordState() {
        return recordState;
    }

    public void setRecordState(String recordState) {
        this.recordState = recordState;
    }

    @Override
    protected Serializable pkVal() {
        return this.patientId;
    }

	public String getRecordType() {
		return recordType;
	}

	public void setRecordType(String recordType) {
		this.recordType = recordType;
	}

	public String getRecHospital() {
		return recHospital;
	}

	public void setRecHospital(String recHospital) {
		this.recHospital = recHospital;
	}

	public String getRecReason() {
		return recReason;
	}

	public void setRecReason(String recReason) {
		this.recReason = recReason;
	}

	@Override
	public String toString() {
		return "Record [patientId=" + patientId + ", patientName=" + patientName + ", patientSex=" + patientSex
				+ ", patientAge=" + patientAge + ", patientDepartment=" + patientDepartment + ", patientDoctor="
				+ patientDoctor + ", patientDisease=" + patientDisease + ", patientDate=" + patientDate
				+ ", recordType=" + recordType + ", recHospital=" + recHospital + ", recReason=" + recReason
				+ ", recordState=" + recordState + "]";
	}

    
}
